IDEA-90352 plugin.xml: "language" support
Revert "Cleanup (code reuse)"
Replace path selector in temporary file, otherwise it will stuck until next clean build

This reverts commit 3023d26ba6699e2f19c59ea77975adb27468e814.

Conflicts:
	build/scripts/utils.gant