Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
diff --git a/Mac/Lib/cfmfile.py b/Mac/Lib/cfmfile.py
index 27c0f1c..cef28fe 100644
--- a/Mac/Lib/cfmfile.py
+++ b/Mac/Lib/cfmfile.py
@@ -34,7 +34,7 @@
 		dst = dst.as_pathname()
 	
 	dstfile = open(dst, "wb")
-	rf = Res.OpenResFile(dst)
+	rf = Res.FSpOpenResFile(dst, 3)
 	try:
 		dstcfrg = CfrgResource()
 		for src in srclist:
@@ -64,7 +64,7 @@
 		self.path = path
 		if path is not None and os.path.exists(path):
 			currentresref = Res.CurResFile()
-			resref = Res.OpenResFile(path)
+			resref = Res.FSpOpenResFile(path, 1)
 			Res.UseResFile(resref)
 			try:
 				try: