Update perms.py

since we're using a `for line in ..` form already, skipped the `readlines()`.