mill-build: set process.cwd to documents origin before building, fixing relative paths

fixes #8