Changing format to raw because xml was strange
Trimming JURI::root() because it has a trailing "/"
Adding "&file=/dummy.zip" to the generated URL because the Joomla installer seems to have a bug