Device sync: Sanitize mount point encoding (bug 1785)