go.snippets: changed os.Error to error because that type changed after Go r60.