cleanPath needs to be public

function cleanPath() needs to be public. Otherwise webdav mounts will fail.