Convert two uses if fstat with sys::fs::status.