add SendFile support, fix PathMapper bug

Closes #2