Nothing in robots.txt hides your attachment URLs from Google.