Throw a ValidationException when a file cannot be open for saving