Default to 0000 for y when no metadata.

Fixes #53 on github.

Patch by: tlc