Filter out non-writable file formats

The equivalent patch for BeScreenCapture, as in https://dev.haiku-os.org/ticket/10724.