Use correct function to wrap use of attoparsec

Per Gregory Collins, change from parseFromStream to
parserToInputStream in an attempt to address
snapframework/io-streams#3.