archives file path bug fix in erb.