Avoid collisions when generating maildir filenames.

  This updates #122.