Update the file ops to throw exceptions on failure.