Remove dots in prefixes so files will show up in directories