owncloud/core — pull request #7929 by schiesbn (2014-03-28 11:04:25+00:00)
Title: don't write file if opening a stream to encrypt the data fails

discovered this issue while testing #7829

cc @PVince81 please have a look, thanks!