fix .mkpath()
Creating the "." path works. Is this idiomatic? At least it works (under Windows).
TODO left: handle errors.