Added path extension when a file gets renamed.