Fixed app.js location in package.json
Refactored ffmpeg script creation for testability
Tests ffmpeg script file creation. Reproduces #6
fix #6