Fix loading from iOS sandbox.