Fixed CSV IO expression confusing the type checker

issue #633