Improve completion: don't complete .pyc files except when listing or
rming them.