Bug 65672

https://bugs.php.net/bug.php?id=65672

Removed function overload for write for DatePeriod.