Fix attachments path for Trac 1.0.1. Break older version support.