fix for infinite loop causing on files_encryption branch when testing 

into "apps/files_encryption/test/crypt.php" on Method testSymmetricStreamEncryptShortFileContent after Patching the infinite loop goes away.

@icewind1991 can you have a look?