Refixed FWRITE and FWR

The pop were in the right order, it was the code that was generated in
the wrong order.