remove non existant file from manifest
stop using deprecated sys module