Fix lost update of remoteId when file is sync'ed after being replaced in server by other one
Fix glitch in reuse of thumbnails after crossed rename of files in the server side
Fix thumbnail generation after successful upload