Merge pull request #2649 from phire/FileIO_Sanity IPC_HLE: Don't open/close files for every single file operation.