Test binary_has_prefix_files with Python