Fixing log for invalid characters in data file.