Either zip it, or change its name to .zip, and attach.