Revert "Moved filesystem stuff to post.js"

This reverts commit c7aa9eb34705c890d5c3fd0127e509c1ae0cfad6.
Baked pre.js into shell.html, so it is no longer necessary.
Added proper parsing for multi-word command line arguments.