Now that thumbnail formats may be different from original files' formats, save_on_s3 should use the mimetype of the file being uploaded rather than the StoredFile object's mimetype.
Shell script to install required libraries.
Pillow is no longer required.