always regenerate etag when writing back file to objectstore

@karlitschek @PVince81 @icewind1991 fixes preview regeneration and most likely synchronization when using objectstore