I had the a similar problem where the attachment would just be turned into a large amount of code in my posts. After a little trial and error I tried it with the Postie plugin and it works great. You may want to load the Postie plugin to use with Contact Form 7, I think this will solve your problem.