fix commit hash reading in PY3
fix commit hash reading in PY3

mick-d/nipype,mick-d/nipype,carolFrohlich/nipype,carolFrohlich/nipype,mick-d/nipype,mick-d/nipype,carolFrohlich/nipype,carolFrohlich/nipype