Remove calls to .path in favor of .IO

.path is deprecated
Merge pull request #22 from hoelzro/master

Fix deprecations - Remove calls to .path in favor of .IO