Project file is writable when examples are copied

(cherry picked from commit 4522d599054f6eaef3c36b1502f2723d01369fe7)