to_kvlayer writer correctly handles negative epoch_ticks