Reduce the size of the KEY field of the FILES table (PLFM-1982) and some minor refactoring on StringEncrypter