Fixed the way ~ (HOME) is parsed on OSX/Linux
Fixed the way ~ (HOME) is parsed on OSX/Linux

bh107/bohrium,bh107/bohrium,madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,bh107/bohrium,bh107/bohrium