Code cleanup

refs #4757

storeAIP uses argparse instead of getting parameters from sys.argv.
checksummingTools close the file after checksumming it.