Use simpler version of sys::fs::exists when possible.