Fix header date parsing.

Don't throw exceptions, as malformed dates aren't exceptional here.
Fix call to projects-to-programme
Fix device schema