Shared files bug fix in initial sync stage.