Minor fix avoiding potential file permission issue