Fix for the relax_io.write_data() function - it can now handle no data being sent in.
Authored by: bugman 2012-11-16
Parent: [r17996]
Child: [r17998]