Merge pull request #13 from alanhamlett/master

use six for Python3 compatibility