Fixed saving plaintext files.