CSV Import fix

The csv module had some non-backwards compatible changes that were failing the
unit tests. This commit follows the new API which fixes the tests