upload_file: give messytables the list of valid types

Per @domoritz suggestion.