Coerce scale to a Number to make Mapnik happy

Without this, Mapnik emits `TypeError: optional arg 'scale' must be a number`.