twee2sam: replace getopt with argparse

argparse's ArgumentParser comes with automatic help text building,
checking for mandatory options, and defaults, so it helps simplify
the option generation and checking.