Add import for mime
install mime for travis ci