update yarp::sig::file to accept non-c-style strings