Support .pyw files (fixes #3)