Add fs readonly check