changed name to like-posix
corrected file mode flags, append would always overwrite