[java] put phantom screenshot in target dir.