Fix for date binding.
Made files NSEncodable.