Port Python3k's csv module to Python2k