Fix pyodbc resource type