Improve create file function in judge plugin