Move the pythontime format converstion routines to utils.py for wider access.