Fixes #111: Reliance on default encoding