rollover

suspend fun rollover()

closes current file, and increase the index so next write go to a new file