Fix /year/month/day/title permlinks.

permlinkurl() expects a UNIX timestamp.

Fixes #2