GdalTools: fix decoding standard output/error

This patch fixes decoding standard output / error from gdal utilities.