make sure any query string variables are removed from update file names