Improve filepicker_secure_url method for better url parse