Yeah, this is a bad merge.  You need the version with Constants.UTF8ENCODING, not the one you have that requires the try/catch block.