[stable10] Fix recreate masterkey issue when decryptall command used
[stable10] Fix recreate masterkey issue when decryptall command used

When decrypt-all command is used the files get decrypted.
After this when user executes the recreate masterkey
command, the variable disableWriteEncryption is set to
true and never set to false. Though the decrypted files
when tried decrypt again in the copy operation, throws
exception, the value should be set to false. If not
set to false, user files would never be re-encrypted
with recreate masterkey.

Signed-off-by: Sujith H <f003c101b6db321bb70f3b324d211f3cd092837a@owncloud.com>

owncloud/core,owncloud/core,owncloud/core,owncloud/core,owncloud/core,phil-davis/core