try to fix unencrypted file size if it doesn't look plausible
fix array key
added another test, if unencrypted size and encrypted size are equal we can also assume that something is wrong
revert last changes
Merge pull request #5329 from owncloud/enc_fix_unencrypted_size

try to fix unencrypted file size if it doesn't look plausible