Explicitly use __builtin__.open to avoid open() calling itself.