cascache.py: Fix file modes in checkout()

Do not copy file mode from casd object file. Do not change
non-executable mode bits if file is executable.
3 files changed