Test fix and API additions file::seek_to_beg/end
Fixed platform include stdint.h to be done only on unix