Reformatting for shorter lines.
Use new += operator on Timestamp.
Use boost_filesystem instead of calling mkdir.

This should help with Windows compatibility.