Protect readline import (for raw_input bug) from import errors