Fixed file name sanitation.
Merge pull request #52 from JeremyMerkur/ATE-issue-51

Fixed file name sanitation.