Restoring a backed up database - \0 character causing errors

I managed to fix this by using the --result-file="Pathdump.sql" sqldump option when exporting the database. It looks like this might be needed for Windows based MySQL.