proper refcounting on new

updated version string
creating stderr.long now sets proper permissions