Fixs for WebSQL, remove ensureBuffer(), fix truncate/ftruncate to read Buffer