ported freezing as csv to python 3.4

With this commit freezing to csv files works on python 2.7 and 3.4 (on Linux). I also added a test case that makes sure, round-tripping between `TEST_DATA` and freeze as csv works (to the extent possible). It also fixes #100.