It's done in a platform independent way as opposed to the old File API.
SOLR-9937 StandardDirectoryFactory::move never uses atomic implementation