s:close(): only use "b#" if it's different from "%"

Closes #127.