Fix typo and bug in sqlfs.js
More work on sqlfs_test_quota.js