Use warnings module for warnings

Previously we used logging.warning. However, by default, there is no logger installed, so they were never being shown. Warnings are probably worth showing, so we'll use the warnings module instead. This sends warning to `stderr`, so its probably not intrusive in any way.

There was only one warning, it turns out! But still, this came up in #318 so we should show it.