Support fileCreate PHP < 5.5