The argument sanitization is now made using a private class method.

This method first remove all the possible extra arguments and then, if wanted, applies the escapeshellarg.