ENTESB-836 - need to set directory mode when copying over examples