fix file sync bug, file doesn't download if previous entry exists