Fixes to .pak files caused previously-believed-to-be-correct tests to fail, indicating further problems with loading from .pak files. These errors have been fixed.