Issue #37 - Switched to using 'mime' library instead of 'mimetype'