Only allow ASCII or UTF-8 file or directory names. Fixes #1.