tools/makemanifest.py: Add check that freeze path is a directory.
tools/makemanifest.py: Add check that freeze path is a directory.

Avoids accidentally writing

    freeze("path/to/file.py")

and getting unexpected results.

pfalcon/micropython,pfalcon/micropython,pfalcon/micropython,pfalcon/micropython,pfalcon/micropython