Separate filename from datetime, fixes #61

Calling stat twice should have minimal impact.  Possibly simplified with creative string substitution, but this works well too.