Output folder defaults to sourcefolder if not set
Added option to change zeropadding for filenames
Made zeropadding auto-detected instead of fixed
Fixed so that the actual number of files is right
Merge pull request #1 from Paaskehare/master

Output folder defaults to sourcefolder if not set