Fixing many minor issues

PTAL.

Please review using the whitespace-insensitive flag: https://github.com/es6rocks/harmonic/pull/60/files?w=1

I'll edit this description soon to add links to the bugs that are being fixed.
Oh wait, the write promise should start on the mkdir level.