Creates a new file for a Groovy class in the same directory and moves the class to it.