Guard gdbm operation with Mutex ( for MacRuby )