Making the foursquare library python3 compatible.