Changed escaping in filename regex.

fixes #3