Fix problem in pbf writer caused by not initialising d-pointer.
Add Osm Pbf reader.