Remove read only attribute before file changes apply