- add OS platform check so that we don't try to write "C:" as part of
  a folder name on Windows
- add comment
clean up and test, merge #12
v0.2.4