Trying to fix Travis build error with 'invalid byte sequence'