Quality folder was being prepended to the destination path by the frontend, resulting in Quality/Artist/Album/track. Now quality_dir is passed as a separate parameter through the full stack and inserted between album and filename by the backend path builder.