Hack around filepicker bug