Fix saving incorrect relative path for audio source files
Since the filename is not updated in the document until saving is finished, we cannot use that as our base path.