This reverts commit 76b8754d and ensures the PCM files are created in the correct directory (not in the current working directory).
76b8754d