In the download annotations management command:
Instead of replacing /import directory for /export while creating the path for the download files, split sound.original_filename into directories, remove the two first ones (the first one is '' and the second one the root directory from which sounds were uploaded) and add the /export directory at the beginning of the path.
In the download annotations management command: Instead of replacing /import directory for /export while creating the path for the download files, split sound.original_filename into directories, remove the two first ones (the first one is '' and the second one the root directory from which sounds were uploaded) and add the /export directory at the beginning of the path.