Added homeDirectory util that grabs ~ across WIN32 and unix-based OSs.