Use os.system for file copies

When post processing using shutil.copyfile can be very slow. Use
os.system for posix systems