Replace 'sudo' with 'try_sudo' so that 'set :use_sudo, false' works.

A fairly trivial fix. Should close issue #45.