correct time to string conversion macros in addFile() to make more cross-platform (possible crash fix on linux)