Tiny suggestion to mimetype_fu
I made a suggestion to mimetype_fu and send it to the autor:
Instead of calling file with -ir and scanning the result like the plugin actually does in /vendor/plugins/mimetype-fu/lib/mimetype_fu.rb you could pass the -b option like this:
# mime = `file -ir #{file.path}`.scan(/.*: (.*);(.*)/)[0][0]
mime = `file -bir #{file.path}`.strip
The man page of file says: -b Do not prepend filenames to output lines (brief mode)