Revert "updated csv module"

This reverts commit bba0020309d8f4b3324f08a124c9c3371c7eabba.