- Renamed `Msg.WriteToTempfile` to `Msg.WriteToTempFile` - Added test coverage for `Msg.WriteToFile` and `Msg.WriteToTempFile`
WriteToTempfile()
- We have two versions of this method: - One for Go versions below 1.17 using `ioutil.TempFile()` - One for Go versions >= 1.17 using `os.CreateTemp()`