Removed arbitrary file handling from getc/putc until more monads are in place