Warnings should be on stderr, not stdout

I made a mistake when setting up the deprecation warnings. I meant for them to be on stderr not stdout.