mimetype fix for Django1.7 and Stream