fix extract ext from URL. fix testing [[rename]] in item.filename