Fixes #48 (numeric sort on ports) and normalize capture file names.