Extending ways to open files (e.g. truncate)