Yes, there are plenty of such unchecked file operations (~65) in Jenkins core.
Unfortunately, some of them are located in public/protected methods without exceptions (like the commented one)