Specify buffer name instead of buffer object

This is related to #31
Merge pull request #32 from syohex/use-buffer-name

Specify buffer name instead of buffer object