OFFile: Add missing locking on AmigaOS