fix the relative path issue seen on HDInsight cluster