Scala update 2.11.2, Refactor loan pattern for stream download