Find the directory PREF correctly when installed in user directory

When installed with `pip3 install bcloud --user`, PREF should be $HOME/.local/share