reformat NSE output filenames for arbitrary number of output files (previously limited to 9999)