mescc: Use core:write.