Modified bitfile and arcode to support streams (file-like objects).