Create files within chroot.

Fixes #3

Did consider doing something like piping output to "tee filename" which is run within the chroot and writes the changes, however this method produces atomic updates which I like.