This workaround indeed makes the error message of K3b and locale go away. And all the ripped files are now read by Amarok.