re-enabled writeout in php image_reference object