use File::HomeDir

Not all systems set $ENV{HOME} (or at least my Win 7 doesn't). Use File::HomeDir to get the home directory in a cross-platform manner. The suggestion given in #10 would be fine, too, though this change keeps the home directory as the workspace.