Changed error message that just said "open %s: %s" to "cannot create %s: %s"