Users of getFolderContent are mostly interested in the unecrypted file size
Don't try to encrypt a file when the temp file isn't created
XSendfile and encryption don't work together

The file on disk is encrypted, and not readable on client systems
Merge pull request #6220 from owncloud/debug_oracle_errors

cherry-picks from #5884, just for debugging purpose