file permissions issues when file is written for mdr on cluster