Add File.openat() for thread safe file operations.