Update index.js

oops missing enclosure type also breaks validation, instead setting a default mime_type of "application/octet-stream" when mime returns false.