allow using print-imports on non-module files