Changed storing of encrypted files to happen when parent dir is stored.