Fixed a bug where a ``date`` couldn't be set as metadata on a S3 key.

Fixes #888.