Improved dotpath to always create and preserve if needed
Merge pull request #7 from iwhitfield/master

Improved dotpath to always create and preserve if needed