Fix failing File primitives by reimplementing sqFileInit