Fixed some places in BasicFormatter where non-templated string types were being used.

See https://github.com/vitaut/format/issues/24