Added a version of Soy::FileToString which captures error text