Our own declarations for the flags we currently use.
Rename New to NewReader to document what this actually does.

Also, use our flag definitions to not depend on syscall.