catch OSError when checking for `convert` program

As reported by zeltak on IRC.