Added overload for processing in-memory script.

Fixes #246.
Fixes #221.

Do you want me to add some tests for this? It's mostly covered by the existing tests...
![FilePreProcessor Test Coverage](https://f.cloud.github.com/assets/582487/521866/70960e9a-bfde-11e2-9768-00f1627910d3.png)