If you load a movie which name ends with ".tif" and the trace names are not defined, the function get_tracename() will name the traces like:
movie.tif_1
movie.tif_2
movie.tif_3
etc.
When exporting traces, the function export_trace_to_txt() will split the trace name at "." and replace the second part with ".txt" to ensure the right file extension:
movie.txt
movie.txt
movie.txt
etc.
Thus the export names are all the same and the files will be overwritten. A quick fix to this issue is attached here as a screendump, however a more elegant solution should be implemented.
