(fix) changed std::fmt::FormatError to std::fmt::Error

Rust must have recently changed std::fmt.
The project wouldn't build for me until I changed this.