Fixed bug introduced by cmake-delete-file where one dir was used for writing and another for reading