For OT scripts : fix read/write of sampling file in //