Scala 2.11 compatibility

This PR makes scala-io Scala 2.11 compatible. The required changes were very minor.

scala-io project is included in the collection of open source projects that Scala team builds every night to detect regressions in Scala compiler. Once those changes are merged, we'll be able to migrate off our own fork of scala-io so speedy review is appreciated!