Add test for filenames with square brackets.