Add os.path.expanduser() wrappers to user-supplied paths.