Qfs c bindings test: fix pwrite test by replacing sizeof() which returns pointer size with strlen(). Fix pread test, by closing and opening the test file, as this is presently required to release chunk write leases and update logical EOF in both meta server and the qfs client's file table.