Fixed MESOS-2319 by creating the temporary file under the same base directory.
Fixed MESOS-2319 by creating the temporary file under the same base
directory.

Review: https://reviews.apache.org/r/30635

kaysoky/mesos,craimbert/mesos,dforsyth/mesos,zmalik/mesos,craimbert/mesos,verizonlabs/mesos,Gilbert88/mesos,kaysoky/mesos,neilconway/mesos,Gilbert88/mesos,abudnik/mesos,dforsyth/mesos,gsantovena/mesos,jpeach/mesos,asamerh4/mesos,zmalik/mesos,yuquanshan/customizedMesos,dforsyth/mesos,reneploetz/mesos,abudnik/mesos,kaysoky/mesos,jpeach/mesos,neilconway/mesos,chhsia0/mesos,dforsyth/mesos,verizonlabs/mesos,zmalik/mesos,reneploetz/mesos,kaysoky/mesos,yuquanshan/customizedMesos,jpeach/mesos,chhsia0/mesos,andschwa/mesos,andschwa/mesos,kaysoky/mesos,yuquanshan/customizedMesos,neilconway/mesos,kaysoky/mesos,verizonlabs/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,craimbert/mesos,verizonlabs/mesos,asamerh4/mesos,Gilbert88/mesos,zmalik/mesos,neilconway/mesos,chhsia0/mesos,Gilbert88/mesos,jpeach/mesos,neilconway/mesos,craimbert/mesos,asamerh4/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,Gilbert88/mesos,andschwa/mesos,neilconway/mesos,Gilbert88/mesos,zmalik/mesos,gsantovena/mesos,jpeach/mesos,abudnik/mesos,gsantovena/mesos,asamerh4/mesos,reneploetz/mesos,kaysoky/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,andschwa/mesos,yuquanshan/customizedMesos,gsantovena/mesos,zmalik/mesos,chhsia0/mesos,reneploetz/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,andschwa/mesos,reneploetz/mesos,reneploetz/mesos,asamerh4/mesos,jpeach/mesos,abudnik/mesos,dforsyth/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,craimbert/mesos,gsantovena/mesos,andschwa/mesos,Gilbert88/mesos,andschwa/mesos,gsantovena/mesos,reneploetz/mesos,gsantovena/mesos,neilconway/mesos,chhsia0/mesos,verizonlabs/mesos,craimbert/mesos,abudnik/mesos,abudnik/mesos,dforsyth/mesos,chhsia0/mesos