more OPEN consts as mode argument

we do not only want to create databases
Merge pull request #3 from rurban/master

more OPEN consts as mode argument