Separate filename from datetime, fixes #61

Calling stat twice should have minimal impact.  Possibly simplified with creative string substitution, but this works well too.
Merge pull request #62 from ericzinnikas/master

Separate filename from datetime