Fixed frmSort bug.

Fixed a bug on frmSort to remove all invalid filename characters from
the filename using Regex before moving the file. This should remove any
potential occurrence of "invalid character in filepath" exception.