bf-imagej.sh: try $HOME instead of ~

For some reason Jenkins doesn't like tilde; maybe $HOME will be better.