Strip-0x00 is a small tool licensed under the GPL v2 which does remove appended and/or leading 0x00 bytes from a binary file for e.g. a ROM dump.