Add time_format for FileStream + tests