[java] Rename file.