fixed bug wherein journal file gets deleted if incorrect password is input on decryption