Fix bug where apostrophes would prevent a file from being selected