"UploadFieldFileButtons" casting (regression from casting changes)

Caused the UploadField rows to show "[Object object]" because
it tried to pass through a PHP object to JS without string casting
(the return used to be a string).