Add stdout to list of args

But not in parseargs() yet, so will throw an exception.
Add stdout option

Yet to check it.
Write to stdout

Filewrite now parses stdout option. Now minpoints option seems to be
broken.