Update code/model/UserDefinedForm.php

Fixes the issue with userforms fileupload fields trying to save the value as an array and the SS core throwing an error.
Issue explained in https://github.com/silverstripe/silverstripe-userforms/issues/86