FIX for issue 1022

When a test script and support file gets uploaded the first time it is passed differently in the params hash than when it's created and updated. This caused the check for repeat filenames to not work properly when a a file being created is the same as an existing file. Added a line to add files being updated.