Fix usage of tempfile.mkstemp, invalid csv:/// and json:///
Fixes for python 3 (2 errors still left in tests)
Fix dshape constructor to accept unicode in python 2
Fix for python 2.6 on windows
Use '\n' instead of the csv lineterminator as a py3 windows workaround for now