hacky fixes to make printf work - fstat that does nothing, forced store to fd table addr