rewrite app.coffee file when called with --coffee