Prevent a file descriptor becoming unusable if the emulator configuration file is not in the correct format.