Fix 'w' to correctly send sending complete on PRI