"Filename already exists" error and handling

See /t/9637/1