sendfiles: add build.gradle
core: move (defn now ...) to commons.clj