boolean renameFile(File newFile) throws IOException {
		if (raf != null) {
			raf.close();
		}
		if (file.renameTo(newFile)) {
			file = newFile;
			if (raf != null) {
				raf = new RandomAccessFile(file, "rw");
			}
			return true;
		}
		return false;
	}
Rename underlying file
@param newFile the new file for this class
@return true if rename successful
@throws IOException if an I/O error occurs
Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java