improved ob_end_clean for download handler