fix single upload when data is null

A pull request to correct this issue:
https://github.com/avocode/FormExtensions/issues/54