Fix reading log/report templates/dependencies in UTF-8.
Fix reading log/report templates/dependencies in UTF-8.

Some of the updated js dependencies (#2419) had non-ASCII data in
UTF-8 format but our code reading these files didn't take that into
account.

robotframework/robotframework,HelioGuilherme66/robotframework,HelioGuilherme66/robotframework,robotframework/robotframework,robotframework/robotframework,HelioGuilherme66/robotframework