M. Night Shyamalan is known for his thrilling mysteries, but his least popular film started out as a bedtime story for his children.