[PATCH 1/6] auto-t: modify copy_to_storage to take optional dir