use mapred.output.dir for bson output instead of .file in tests.