Fix local impl to behave like prod when copying a file (copy also the file's options).

Revision created by MOE tool push_codebase.
MOE_MIGRATION=7151