filesystem: update pyxpcom stub functions

(integrated from trunk branch change 97ff98a by Todd Whiteman <toddw@activestate.com>)