seqio: Support guessing the filetype from Flask FileStores

Signed-off-by: Kai Blin <kai@samba.org>