Automatically escape filename prefixes. Fixes #13.