script: Commit to loading a file when it parses/unpickles.

This prevents an error that was caused by when an exception in
finish_load would cause the .rpy file to load after finish_load
had already started updating data structures.