Secondary constructor for creating a FileChange with an error state.
The file this change applies to (nullable)
The error message to store in result