Fix the same bug in 'open' than was just fixed in 'writeFile' in sqlfs.js