They're great for attacking systems, because so many programs aren't prepared for them. Any program that uses filenames as keys (and there are many) can have this vulnerability if the input validation has a weakness.
I don't think there are any legitimate uses. They also make it unnecessarily hard to write robust shell scripts.