Fix PDBIO blank occupancy handling

* Used @peterjc's suggested format string modification
* Added unit test for blank occupancy writing