Clean index.js, remove unneeded functions.
Clean index.js, remove unneeded functions.

`open` handles all filetypes, no need to check types.
clean error formatting, no if statements after checking.

hirasso/gulp-open,hirasso/gulp-open,stevelacy/gulp-open