Add encoding header to spec file