Fix change type in bsd, linux and windows adapter

‘file’ instead of ‘File’