Fixed bug with FileUpload and empty values.

Previously, submitting an empty file field would result in an AttributeError.