Fix hadoop conf dir path for Hadoop 2.x

Try to locate correct path for hadoop conf dir depending on the version.