Move __pycache__ to excluded folders, it's not a file

(cherry picked from commit 57997f72a5c7421141d23c6d95b060e9f484f2b2)