move copy from IO::Handle to IO::Path, deprecate IO::Handle version