minor pythonic improvement

See http://docs.python.org/2/library/stdtypes.html#str.rjust

note: an alternate approach is
tpacket += "\x00" * padbytes