Fix caplen field in io.go writer.Write()

Write the correct caplen for each packet instead of the unix seconds.  Must have been a typo.