Adding encrypt_file method back (ensuring backwards compatability, and symmetry with decrypt_file), allowing encryption of files given as str param.