change I/O directory