fix calculateFilename in recordtimer.py