sheep: fix CREATE_AND_WRITE switching