Add negative tests for stat and rename
Add truncate support to native streams
Some cleanup
Implement the File stream interface