Fix incorrect filesystem interface.