Ensure the maildir-prefix exists.

  Otherwise we get a segfault when we try to open it.