Forgot to add this useful helper script
Fix a bug that makes from_directory fail when libmagic isn't used