Webmail: fix encoding of subfolder name

Fixes #2637