Add ability to open buffer from stdin