uploadDir accepts getS3Params function parameter
Release 1.2.0