Add string support for buffer_pattern

Signed-off-by: Jens Axboe <axboe@fb.com>