Allow send_file to guess the mime type.

Turns out send_file can guess the file type itself. It looks like doing that supports displaying images inline.