Use salt.utils.fopen instead of open