Add file_scheme segment

Fixes #207
Fix unicode/bytes handling for python-3
Merge pull request #954 from ZyX-I/file-scheme

Add file_scheme segment