Add defaults for encoding/fileencoding

Fixes the-lambda-church/#20.