fix bug in looking up column type code

- Leftover from __str__ -> format() refactoring, making Column.format()
  reference column.type_code rather than self.type_code causing a
  stacktrack when using the frm-to-schema --raw-types option
- Resolves issue #45