Fallback if HOME env variable isn't set

Just running into issues with this when the variable isn't set. Probably worth having a fallback if it doesn't exist.
Merge pull request #5 from anthonyshort/patch-1

Fallback if HOME env variable isn't set