fix Debian bug #202667: crash when a message's filename overflows an int