Fixed sage-shell-sagetex:compile-file.
Added sage-shell-sagetex:tex-master-maybe and modified sage-shell-sagetex:tex-to-sagetex-file.
Modified sage-shell-sagetex:compile-file.