sed: Fix backslash parsing for 'w' command arg