fix some warnings

Fixes https://github.com/interconnectit/Search-Replace-DB/issues/87