fix for unsafe urls when getting bulk files