Made files opened in read mode seekable more reliably.
Fixed options not being passed along properly by shell.execute.