Moving stdio functions to own directory