Update minifier.py

Fixed broken directory copy logic in copydir method.