fix issue with csv imports on django 1.5