Switching to NPM module 'mime' for MIME lookup, discarding custom implementation