Fix committing attachments when using svn.