add an option named 'unique_names_postfix' 

add an option named 'unique_names_postfix' that if it's true will auto named the file with a postfix.