support spaces in file names during compile

Hey Josh,

I had a shot at fixing this, i'm pretty new to Node though. Seems to work.

Cheers,
Sam.