Abort earlier if file does not exist.

Otherwise, the nasty exception error message would be printed even though the
protocol is in no error state.