Pass a capture_file * to write_psml_preamble() in tfshark as well.

Change-Id: I2b2ae78d4b75bb27a44d185b48e3d85794effdb7
Reviewed-on: https://code.wireshark.org/review/5439
Reviewed-by: Guy Harris <guy@alum.mit.edu>