'make relative paths work like folks expect.'

def path_dwim(self, given):

    given = unquote(given)
    given = to_text(given, errors='surrogate_or_strict')
    if (given.startswith(to_text(os.path.sep)) or given.startswith(u'~')):
        path = given
    else:
        basedir = to_text(self._basedir, errors='surrogate_or_strict')
        path = os.path.join(basedir, given)
    return unfrackpath(path, follow=False)
