FileApiBase.command returns the response status
Merge pull request #1 from daniel-fanjul-alcuten/master

make response.status available