Write a timestamps.csv file with the images in bagconverter.py