Fix improper error check on ngx_rtmp_hds_rename_file