Support discard_original_filename
Extend configuration instead of overriding it when object is given