agpl.py (filez): Check the exit code from the command.