Correct return value for WP_Filesystem_Base::gethchmod(). props bananastalktome. fixes #23121.