refactoring: do not use default encoding

For headers and mount point parsing, we use UTF-8, which is almost
certainly the default on the platform, even if only the ASCII plane
is likely to be used.