speedup disk_writer by reopening/fsyncing less