Crude approach to stripping out some filename-inappropriate characters.
Problem reported by Tim McKelley.