run-avrdude: reviewed to make it less likely to fail. Fixes #9