Merge pull request #3 from nlf/master

cleanup plus some metadata stuff
need the sync method here (fs.statSync)
post root shouldn't be hard-coded
Merge pull request #4 from aaronmccall/fs_cleanup

fs cleanup
fix merge conflict