VOM: mprefix and mpath encode fixes