fix(write): Make it write the output to dest, not src

Before, the task would write the output files back to the source files, instead of the destination.

Now it compiles all the source files and then writes them to the dest.  With fancier happy `array.map()`.

I tested it some on my own, seems to work.