Do not assert if we ask dimensions of a file with no ink box
Avoid to assert on files that do not have ink box at all. Also add a testcase and improve the test. Hopefully fixes #324 (closed), at least it fixes the mininal test case, the crash of vmware viewer needs to be tested.
Fixes #324 (closed)