Handle folder headers with colons correctly. Based on patch from Johannes Berg.