Slightly better file checks on sqlmap.py