Revert permissions, remove pyc files.