Improve error messages for io::fs
std: Rebase better errors on master
auto merge of #14823 : alexcrichton/rust/improve-fs-errors, r=alexcrichton

Continuation/rebasing of #14810