Try this:
tr -d '\000\r' < yourfile > newfile
Notes:
The "-d" says to delete rather than transpose which is tr's normal modus operandi
The "\000" represents null.
The "\r" represents carriage return characters.
The order of the characters to delete is unimportant - they are just deleted.