Fixes 'rm *' bug

If appName isn't set by the time the clean up occurs, the statement will
evaluate to 'rm fileList.txt *', deleting all files in directory.