maximumImageFileSize should be null for backward compatibility
Fix wrong option name
Pass message to custom error handler