fix nodejs 'Buffer' constructor for node v>=0.10