Pass error correction level provided by the user to the encoder. Fixes #60