There is a wonderful mistake in the latest version of sunrise.php.
It can be found between line 37 and 38.
This \n breaks all the medias.
I lost a loooooot of time to find out the problem.
Please simply do as every normal php dev would do with INCLUDED php files : don't use the closing '?>' tag, especially if you plan to add empty lines in the end of the file.
Empty lines that are then written by ms-files.php right before the media content and make it break.
Thanks a lot.