Add skip for chmod() on stream with PHP < 5.4.