atomic_write rescue also Errno::EACCES

atomic_write rescue also Errno::EACCES on changing file permission. It could be raised with some type of filesystem