Update example script to use Try::Tiny.