added a creat() equivalent for FILE streams