Add option to log decoded packets to a file (simple stdout redirect didn't work for me)