- use text_type from six for filename inputs; fixes #5