Fixed some issues dealing with UNIX filename sanitization