merge get_maildir/set_maildir into maildir_prefix.

  This is simpler to call/use and neater.