Viewer: correct defaultFolder path for Unix

$HOME is "~/", not "/~/"