Add encode/decode functions for imap mailbox name.