Update test-app/bin/main.dart with dart:io V2

The demo code has warning with dart:io v1