more refactoring in the REEFFileNames and its clients; use a single
function to build the classpath for YARN and HDInsight on all platforms