Ignore 'aDir' directory.
Creating target directory if it doesn't exist.
Logging with writeln instead of write.
Creating an empty commit if the branch is new.
Merge pull request #1 from seejee/master

Various fixes that we talked about over coffee