Bugfix in logging to users directory

Fixes a bug where the logger creates a "~/.salt" directory instead of expanding the path to the actual user directory to create a .salt directory under the users home directory.