fix FS#969 - File - Bitmap export: exported bitmap file locked