Change file output to a CSV format
Add is_open() methods to File and Directory classes

This can be used to tell if an object needs to be open()'ed.
Keep file open between writes, sync every 5 seconds

Only close the file at the start of a new hour. Then a new file will be created.