fix compiler errors. io::UserDir is deprecated in favor of io::USER_DIR. String.append() is deprecated in favor of String.push_str().
Merge pull request #5 from amw-zero/deprecated-fixes

Deprecations causing compiler errors