Create the tmp directory if necessary

Also, filter out locations with no votes