Changed output filename to include timestamp.

This allows for appending files to partition folders. This closes #48
and #31.
Fixes bug in examples.