Added missing methods to fs module. fix #978