Update for removal of fmt.

`fail!` etc now use the `format!` syntax.
Merge pull request #16 from huonw/fmt

Update for removal of fmt.