Saving level from editor to file.
Fixed crash if no file is found.