Fixes public file serving. Closes #41.