chunk writing and additional MIME types