Merge pull request #5 from WojtekKowaluk/master

escape agent path, so it is handled correctly if it contains backslashes
cleanup