updating the fortran showdata example and the c++ getFile and fortran's rp_lib_get_file functions to correctly return the number of bytes written to the file.