CoffeeScript file generator fixed