Treat filename '-' as stdin/stdout in edit