Add time_format for FileStream + tests

r: Tarek Ziadé
Merge pull request #493 from Natim/timestream

Add time_format for FileStream + tests