Add a version of sys::fs::status that uses fstat.