Fix FILE read and enable write for mimedataprovider
* src/mimedataprovider.cpp (isSupported): Add write. (collect_data(FILE*)): Fix fread call. (get_body, get_html_body): Fix truncated output when a mail body did not end with a newline. * src/mimedataprovider.h: Update accordingly.