Make use of expanduser() more sane