Change other uses of os.path.expanduser and os.path.abspath. refs #2235

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
WIP

Signed-off-by: Daira Hopwood <daira@jacaranda.org>