Better overwriting handling for links and copies.