Latest WordPress versions return postid as string, not int for metaweblog.getRecentPosts command. metaweblog.getPost returns postid as int as usual. I've noted the discrepancy as a bug on wordpress.org.