Update rsw_rect_ps_io.py