Fix strict standards error in upload field type

It was hard to use with vip-quickstart since strict standards errors are shown.