Fix S3 copy and rename overwriting target directory

Also skip a test for unsupported feature (mtime update of changed directory)

With this the unit tests for S3 pass for me locally.

cc @butonic @DeepDiver1975