Update csyncwrapper.php

Fix FinalizeCommit handling of directories to update.