Translate localtopdir to jottapath. Returns unicode string

def get_jottapath(localtopdir, dirpath, jottamountpoint):
    """Translate localtopdir to jottapath. Returns unicode string"""
    log.debug("get_jottapath %r %r %r", localtopdir, dirpath, jottamountpoint)
    normpath =  posixpath.normpath(posixpath.join(jottamountpoint, posixpath.basename(localtopdir),
                                   posixpath.relpath(dirpath, localtopdir)))
    return _decode_filename_to_unicode(normpath)