Fix importing of "page" entries

The `type` header was not written out in the YAML front matter, thus causing imported "page" entries to be incorrectly recognized as normal "entry"s.

This fix writes the `type` header only if the type is not "entry".