Add missing `to` in `path.relative(from, to)` in `compileToDirectory`.

Commit joyent/node@089ec5861357 to node broke this non-standard shortcut.

Fixes #304