fix download attachment's path