Creates screendumps directory only when necessary.

Avoid to create the screendumps directory inside the test result when not required, just when you pass the proper command line argument to create the screendumps.