Add decode_string_to_file and write out ssh_keyfile, if present