Update RDataWriter.php

Check this bug report: http://bugs.limesurvey.org/view.php?id=8917