Borrow temp-dir code from me.raynes/fs.

This is preferable to depending on the entire library which has
an implicit dependency on Java 7.
Use temporary directory for serving root in development.