Update jekyllpre script to set encoding and show errors