Use scala-io 0.4.2 and add scala-library as a dependency, fixes #10