FileAdmin failed on file upload with message that FileField has not attribute 'has_file'

fileadmin.py uses wtforms, not flask.ext.wtf, so FileField has not method has_file (it is method of this field from Flask-WTF) and failed on uploading.