Fix caching of imported files

- Move hash key creating to after parseLess function