dynamically init fs API
Extract fs API from brackets_shell.js as independent module