Update lib.py

fix bug, first timed file will be named by the next rollover time