Fix for #64: __pycache__ dir inside distutils scripts metadata directory

The pull request includes 

- a test (fails without the fix)

- the fix

- a changelog entry.