lib/model: Leave temp file in place when final rename fails (fixes #3146)
lib/model: Leave temp file in place when final rename fails (fixes #3146)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3148

lkwg82/syncthing,plouj/syncthing,syncthing/syncthing,letiemble/syncthing,wweich/syncthing,cherylquirion/syncthing,nrm21/syncthing,xduugu/syncthing,brgmnn/syncthing,brgmnn/syncthing,lkwg82/syncthing,jryans/syncthing,jryans/syncthing,AudriusButkevicius/syncthing,toddleish/syncthing,le9i0nx/syncthing,letiemble/syncthing,AudriusButkevicius/syncthing,toddleish/syncthing,lkwg82/syncthing,letiemble/syncthing,AudriusButkevicius/syncthing,lkwg82/syncthing,kluppy/syncthing,imsodin/syncthing,Kudalufi/syncthing,alex2108/syncthing,plouj/syncthing,alex2108/syncthing,le9i0nx/syncthing,le9i0nx/syncthing,norgeous/syncthing,AudriusButkevicius/syncthing,imsodin/syncthing,kamadak/syncthing,imsodin/syncthing,jryans/syncthing,cherylquirion/syncthing,brgmnn/syncthing,ProactiveServices/syncthing,cherylquirion/syncthing,norgeous/syncthing,le9i0nx/syncthing,nrm21/syncthing,uok/syncthing,syncthing/syncthing,brgmnn/syncthing,kluppy/syncthing,plouj/syncthing,rumpelsepp/syncthing,syncthing/syncthing,rumpelsepp/syncthing,TheBigBear/syncthing,cherylquirion/syncthing,Kudalufi/syncthing,alex2108/syncthing,Kudalufi/syncthing,xduugu/syncthing,Kudalufi/syncthing,kluppy/syncthing,nrm21/syncthing,kamadak/syncthing,ProactiveServices/syncthing,uok/syncthing,TheBigBear/syncthing,xduugu/syncthing,kluppy/syncthing,nrm21/syncthing,jryans/syncthing,syncthing/syncthing,wweich/syncthing,letiemble/syncthing,xduugu/syncthing,TheBigBear/syncthing,toddleish/syncthing,imsodin/syncthing,kamadak/syncthing,syncthing/syncthing,wweich/syncthing,syncthing/syncthing,norgeous/syncthing,alex2108/syncthing,uok/syncthing,toddleish/syncthing,TheBigBear/syncthing,ProactiveServices/syncthing,kamadak/syncthing,plouj/syncthing,imsodin/syncthing,norgeous/syncthing,uok/syncthing,rumpelsepp/syncthing,ProactiveServices/syncthing,wweich/syncthing,rumpelsepp/syncthing