Fix problem with start slash in href and mime-type format string int download link