CDAP-500 Allow overriding temp dir used in tests