Make loading MIME attachment data more efficient