Changed output filename to include timestamp.

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