Use synchronous functions to build files
Remove unuse pkgs
Merge pull request #10 from apibyexample/nick/bugfix-mkdir-sync

Bugfix mkdir sync