Set mime type on file creation.
Moved date formatter into dispatch_once block.