Quote filename check in case of spaces.