Supporting directory path for source / destination to minify

Added a code to check the destination folder, if yes then minify the source files into the destination folder with the same filename