core: instruct python not to create optimize files

Change-Id: I4453e9069870a2852ea05ec7512893909c804f8c
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>