XWIKI-10201: Download is stuck when choosing XAR as output and leaving the Target field empty
XWIKI-10203: Make the default media type binary in WikiStream UI

(cherry picked from commit fa8eb27b464f0cb397414be8f738f4eb2a5185dd)