fix #1364, #1368 -- strip base dir in import_wordpress

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>