some performance improvements, check for system wide mounts only once while writing share keys
move isSystemWideMountPoint() to util.php
handle rename correctly for system wide mounts