(PUP-2613) Enhance tests for ignore source perms

The new default, ignore source permissions, uses default permissions.
Instead of using a directory where the test is not sure how it was
created, create a tmpfile and compare the created resource against it.

Also add a test confirming that if the target exists, ignoring source
permissions results in no change to the targets permissions.