Add convenience macros for stdio