Replaced fseek on example clients as it does not work on Linux