Fix $HOME/bin expansion