Move Error, Fallible, ErrorResult out of utils.rs (fixes #1749)