Support callable base_path in FileUploadField

Fixes #704