urllib quote encoding fix