Fix EOFError in scratch::ScratchRuntime/installProjectFromData

https://app.getsentry.com/scratchteam/scratch-flash/group/18498222/