Fixed compiler warning with fmt

The problem was that Result is tagged with a must_use attribute, so
ignoring a returned Result value triggers a warning. Wrapping the line
in try! makes the whole thing return a (), which is prompty ignored, and
doesn't trigger the warning.