Fixing filetypes initialization.
Making peace with older versions of node.