Trouble with the inlined raw write