Assignment before use (if Enumerate fails)
Remove undeclared variable
MIME type guessing - removed one duplicate call to libmagic
Merge pull request #18 from adulau/master

Fix one assignment before use and remove duplicate call to libmagic