CLN: move PerformanceWarning to io.common and clean up
ENH/CLN: use @jtratner's decorator to check for raised warnings