Fixed spreadsheet import/export functions.
Fixed spreadsheet "open" command.