Simply add this line of code to the wp-config.php file:

define( 'ALLOW_UNFILTERED_UPLOADS', true );