Transform struct event into safer and more convenient Event.
Convert many fopen calls to fopen64 to ensure we can read/write past 2GB. Resolves #1026.
Null-terminate the lines in arg_env to ensure environment variable values containing embedded newlines round-trip correctly. Resolves #1018.
Merge pull request #1028 from rocallahan/null-terminate-env

Null-terminate the lines in arg_env to ensure environment variable value...
Merge pull request #1027 from rocallahan/fopen64

Convert many fopen calls to fopen64 to ensure we can read/write past 2GB...