You seen `expanduser` fail? `expanduser` would also work on Windows, `$HOME` will not.