check if version is valid before parse it - closes #10
try to decode stderr output before use it - refer #7