This will significantly increase performance, ref
1. The Moodle backup no longer includes H5P libraries
2. Warn the user doing the backup that if the place where the backup is restored don't have the same libraries any missing libraries will cause the activity to not be restored.
3. Make sure that the restore routine checks for any missing libraries, and if there are missing libraries it will cause the activity to not be restored.