SimpleFIFO - turn Write and Flush into macros