Fixed bug when specifying the same file two or more times via CLI.
Bumped up version to 2.1.7.
Keep transparency and only flatten when layers.length > 1.
Bumped up version to 2.1.8.