Use of templates to create the source file to store HADOOP_HOME env variable