Whoops, should have known that wasn't going to work. Downloaded a copy of the filepicker lib for the server in advance.