Only fix attachment paths if there were attachments uploaded.
Merge branch 'develop' of github.com:dexy/dexy into develop