InvalidArgumentException thrown

Template is not valid UTF-8 stream.