The FS has a different interface for web vs. cordova so polyfilled it