Fix broken error code for errors in file parsing