replace file() with open()

This simple modification provides much better user experience while using scikit under python3,

since file() got kind of deprecated and removed :3