Some refactorings for clarity on EncryptedFileStorage
Adding a file length cache for the EncryptedFileStorage so we don't have to open the files and decrypt them to find the length