Use `inreplace` and submit this upstream.