Allow characters *[]? to appear in filenames.
Tickets [46bf4baedce] and [d17d6e5b174bd6]
and [10aee063c413c107]