Changes to make Vim encrypt/decrypt work