Encode attachment filename using RFC 2184 if filename encoding is specified