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.
This fixes checkout
not respecting umask and this is required for the next buildbox-casd update (BuildGrid/buildbox/buildbox-casd!190 (merged)).