Fix WKT writers output type

Minor fixup.