Remove conversion of IMAP folder names to string  (#4830).