Removing hard-coded file encoding. Seemed to be causing bug #48992457