Fixing the sync-files command