index: do not create index world-readable

Fixes issue 32.
Merge branch 'upstream'

# By Russ Cox
* upstream:
  index: do not create index world-readable