BUG Fixing FilesystemSyncTask failing with subsites, rewriting valid URLSegments

See https://github.com/silverstripe/silverstripe-subsites/issues/35 for more context of the problem.