* generator.rb: enhanced the prefix function to match things like Mix.Task.Archive.