raise RuntimeError if writing with library version is too early, closes #273

We still raise a LibraryNotFoundError if there's no library at all
Merge branch 'issue273' into devel