move ftpserver.py up
add small testcase for path construction