get write (local) stream open moved after the response to fix erasing existing file in case of 304 not modified