enable override of dirname during transfer