Changed the C++ client-api to open the file in "append" mode, corrected the vibes::connect(filename) that was not opening the name given as an argument