Moving yarn.app.mapreduce.am.staging-dir setting to mapred-file.xml so job history server shares setting with application masters.